Interface sjl.BackInsertContainer
All Packages Class Hierarchy This Package Previous Next Index
Interface sjl.BackInsertContainer
- public interface BackInsertContainer
- extends Object
- extends SequenceContainer
An interface for containers that support the push_back()
method.
By implementing this interface, the container can be used with the
iterator adapter BackInsertIterator
.
Copyright © 1996 Finn Bock
- See Also:
- BackInsertIterator, List, Deque, Vector
-
pop_back()
- Remove the last element in the container.
-
push_back(Object)
- Add an element to the end of the container.
push_back
public abstract void push_back(Object object)
- Add an element to the end of the container.
- Parameters:
- object - The element that will be added.
pop_back
public abstract void pop_back()
- Remove the last element in the container.
All Packages Class Hierarchy This Package Previous Next Index